/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wbd_au.objects_mappings;

import java.sql.Date;

/**
 *
 * @author Iza
 */
public class Cwiczenia extends ObjectMapping{

    /**
     * @return the idObiekt
     */
    public int getIdObiekt() {
        return idObiekt;
    }

    /**
     * @return the idOddzial
     */
    public int getIdOddzial() {
        return idOddzial;
    }

    /**
     * @return the dataOd
     */
    public Date getDataOd() {
        return dataOd;
    }

    /**
     * @return the dataDo
     */
    public Date getDataDo() {
        return dataDo;
    }
    
      public enum Attribute
    {
        ID_OBIEKT,
        ID_ODDZIAL,
        DATA_OD,
        DATA_DO,
    }
      
    int idObiekt;
    int idOddzial;
    Date dataOd;
    Date dataDo;
    
     public Cwiczenia() {
         super.tableName = "CWICZENIA";
         super.attributes = Attribute.values();
    }
  
}
